package com.jztd.servone.invoice.service;

import com.jztd.servone.invoice.dto.InvoiceRecordDTO;
import com.jztd.servone.invoice.param.ApplyInvoiceDetailsParam;
import com.jztd.servone.invoice.param.CancelInvoiceParam;
import com.jztd.servone.invoice.po.InvoiceRecord;

public interface InvoiceService {
    /**
     * 开票
     */
    InvoiceRecord applyInvoice(ApplyInvoiceDetailsParam param);

    /**
     * 作废
     */
    Boolean cancelInvoice(CancelInvoiceParam param);

    /**
     * 查询开票结果
     */
    InvoiceRecordDTO getInvoiceDetails(String invoiceCode);
    /**获取业务类型*/
    String getServiceType();
}
